package com.cn.crmsystem.mapper.approveMapper;

import com.cn.crmsystem.pojo.Approve;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InvoicesMapper {
	//全查
	List<Approve> selectAll(@Param("userid") Integer userid);
	//修改审核表
	int UpdateApproveInvoice(Integer appid,Integer state);
	//查询data_id
	Integer SelectDataid(Integer appid);
	//删除审核表
	Integer DeleteApprove(Integer appid);
	//删除发票表
	Integer DeleteInvoice(Integer Invoiceid);
	//条件查询
	List<Approve> selectConditionInvoice(Integer userid,Integer state);
}
